From: Ray Strode Date: Sat, 6 Apr 2013 15:09:06 +0000 (-0400) Subject: runDialog: don't destroy on close X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4361 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=963905adcd000152e021babad7126c4d55590958;p=gnome-shell.git runDialog: don't destroy on close It's a singleton like the endSessionDialog https://bugzilla.gnome.org/show_bug.cgi?id=697435 --- diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js index 9d288d92a..7b753a77f 100644 --- a/js/ui/runDialog.js +++ b/js/ui/runDialog.js @@ -35,7 +35,8 @@ const RunDialog = new Lang.Class({ Extends: ModalDialog.ModalDialog, _init : function() { - this.parent({ styleClass: 'run-dialog' }); + this.parent({ styleClass: 'run-dialog', + destroyOnClose: false }); this._lockdownSettings = new Gio.Settings({ schema: LOCKDOWN_SCHEMA }); this._terminalSettings = new Gio.Settings({ schema: TERMINAL_SCHEMA });